[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
authorChristian Limpach <Christian.Limpach@xensource.com>
Thu, 5 Oct 2006 13:53:29 +0000 (14:53 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Thu, 5 Oct 2006 13:53:29 +0000 (14:53 +0100)
commit56525bb66945dd24fd23b519ac30359a1a9e6c49
treee21ad76718e1743dc5187b899e83a2b1442f9e69
parent192d7f59564cbcea44000d35e49643d895cdeffd
[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
that the VNC server from qemu listens on.

Defaults to only listen on 127.0.0.1

The old behaviour (listen on all interfaces) can be restored, by
- changing the system-wide default in /etc/xen/xend-config.sxp by adding:
(vnc-listen '0.0.0.0')
- changing individual domain config files by adding:
vnclisten="0.0.0.0"

Also allows specifying the hostname associated with an interface to limit
to that interface.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/examples/xend-config.sxp
tools/examples/xmexample.hvm
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/ioemu/vnc.c
tools/python/xen/xend/XendRoot.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py